package com.suyang.syt.dao.impl;

import org.springframework.stereotype.Repository;

import com.suyang.syt.dao.interfaces.PermissionDao;
import com.suyang.syt.model.Permission;
import com.suyang.syt.dao.impl.BaseDaoImpl;

/**
 * @author administrator
 * @date 2016-2-24 10:56:42
 * @description  
 */
@Repository
public class PermissionDaoImpl extends BaseDaoImpl<Permission> implements PermissionDao {
	/**
	 * 批量删除
	 */
	@Override
	public void deletes(String ids) {
		this.executeByHql("update Permission set isDelete=1 where id in(" + ids + ")");
	}

}
